-- even_carrying
-- created by wangy
-- 连携其它冈布奥专属技能附带效果

return {
    apply = function(prop, baseValue)
        return prop[3];
    end,

    -- 对敌伤害触发
    trigger = function(who, prop, arg)
        if DungeonM.getRandSeed("even_carrying") % 1000 >= prop[3] then
            return 0;
        end

        return math.max(1, arg);
    end,

    record = function(target, prop, path)
        return false;
    end
};